package com.ruyuan.seckilling.publish.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author zhonghuashishan
 */
@Component
public class BussinessConfig {

    private static String myIp;

    public static String getMyIp() {
        return myIp;
    }

    @Value("${business.myIp}")
    public void setNginxServerIps (String myIp){
        BussinessConfig.myIp = myIp;
    }
}
